package com.huijie.core.common;

import com.baomidou.mybatisplus.extension.service.IService;

/**
 * @ClassName IBaseService
 * @Description 基础service接口
 * @Author zyc
 * @Date 2019/1/8 15:27
 * @Version 1.0
 */
public interface IBaseService<T extends BaseEntity> extends IService<T> {

    public boolean insertOrUpdate(T entity);

    public boolean insert(T entity);

    @Override
    public boolean updateById(T entity);
}
